# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=thunar-volman
pkgver=4.18.0
pkgrel=0
pkgdesc="Thunar extension for volumes management"
url="https://goodies.xfce.org/projects/thunar-plugins/thunar-volman"
arch="all"
license="GPL-2.0-or-later"
options="!check" # no test suite
depends="thunar"
makedepends="
	exo-dev
	libgudev-dev
	libnotify-dev
	libxfce4ui-dev
	thunar-dev
	xfce4-dev-tools
	"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/xfce/thunar-volman/${pkgver%.*}/thunar-volman-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
29681ede6274e999377e2aae2b157ed355d9e471416db2d4beb4432f84c60008f8c5008c87392c20da51d58fc3bd8f097d6f21764903baf1a301fb00e6166420  thunar-volman-4.18.0.tar.bz2
"
